<?php

namespace IDock\Insurance\ACIC;

class ACICEnums
{

    public static $TCI = '0330';

    public static $VCI = '0333';
    /**
     * 能源类型
     * @var string[] $energyType
     */
    public static $energyType = [
        '0' => 'E01',
        '1' => 'E02',
        '2' => 'E03',
        '3' => 'E04',
        '4' => 'E05',
        '9' => 'E00',
        '' => 'E00'
    ];

    /**
     * 能源类型
     * @var string[] $energyType1
     */
    public static $energyType1 = [
        'E00' => '9',
        'E01' => '0',
        'E02' => '1',
        'E03' => '2',
        'E04' => '3',
        'E05' => '4',
    ];

    /**
     * 进口车标识
     * @var array $importFlag
     */
    public static $importFlag = [
        '0' => 'I0',
        'LO' => 'I1',
        'JV' => 'I2',
        'IP' => 'I3'
    ];

    /**
     * 关系人证件类型
     * @var array $certificateTypeCode
     */
    public static $certificateTypeCode = [
        '01' => '01',   //居民身份证
        '02' => '02',   //居民户口簿
        '03' => '07',   //护照
        '04' => '553',  //外国人永久居留身份证
        '05' => '03',   //驾驶证
        '50' => '71',   //组织机构代码证
        '51' => '74',   //营业执照
        '52' => '74',   //社会信用代码证
        '99' => '99',   //其他
    ];

    /**
     * 险种代码
     * @var array $coverageCode
     */
    public static $coverageCode = [
        'C02001' => '0101200', //机动车损失保险
        'C02002' => '0101210', //附加车身划痕损失险
        'C02003' => '0101230', //附加修理期间费用补偿险
        'C02004' => '2020009', //附加车轮单独损失险
        'C02005' => '2020002', //附加发动机进水损坏除外特约
        'C02006' => '2020016', //附加绝对免赔率特约条款(车损)
        'C02007' => '0101260', //附加新增加设备损失险
        'C02008' => '0101800', //附加车上货物责任险
        'C02009' => '2020003', //附加保险人指定修理厂特约险

        'C03001' => '0101600', //机动车第三者责任保险
        'C03002' => '0101004', //附加法定节假日限额翻倍险
        'C03003' => '2020010', //附加精神损害抚慰金责任险(三者)
        'C03004' => '2020013', //附加医保外医疗费用责任险(三者)
        'C03005' => '2020017', //附加绝对免赔率特约条款(三者)

        'C04001' => '0101701', //机动车车上人员责任保险(司机)
        'C04002' => '2020011', //附加精神损害抚慰金责任险(司机)
        'C04003' => '2020014', //附加医保外医疗费用责任险(司机)'
        'C04004' => '2020018', //附加绝对免赔率特约条款(司机)

        'C05001' => '0101702', //机动车车上人员责任保险(乘客)
        'C05002' => '2020012', //附加精神损害抚慰金责任险(乘客)
        'C05003' => '2020015', //附加医保外医疗费用责任险(乘客)'
        'C05004' => '2020019', //附加绝对免赔率特约条款(乘客)

        'C08001' => '2020005', //道路救援服务特约条款
        'C08002' => '2020006', //车辆安全检测特约条款
        'C08003' => '2020007', //代为驾驶服务特约条款
        'C08004' => '2020008', //代为送检服务特约条款

        //新能源商业险
        'C12001' => '新能源汽车损失保险',
        'C12002' => '附加车身划痕损失险(新能源汽车)',
        'C12003' => '附加修理期间费用补偿险(新能源汽车)',
        'C12004' => '附加车轮单独损失险(新能源汽车)',
        'C12006' => '附加绝对免赔率特约条款(车损)((新能源汽车))',
        'C12007' => '附加新增加设备损失险(新能源汽车)',
        'C12008' => '附加车上货物责任险(新能源汽车)',

        'C13001' => '新能源汽车第三者责任保险',
        'C13002' => '附加法定节假日限额翻倍险(新能源汽车)',
        'C13003' => '附加精神损害抚慰金责任险(三者)(新能源汽车)',
        'C13004' => '附加医保外医疗费用责任险(三者)(新能源汽车)',
        'C13005' => '附加绝对免赔率特约条款(三者)(新能源汽车)',

        'C14001' => '新能源汽车车上人员责任保险(司机)',
        'C14002' => '附加精神损害抚慰金责任险(司机)(新能源汽车)',
        'C14003' => '附加医保外医疗费用责任险(司机)(新能源汽车)',
        'C14004' => '附加绝对免赔率特约条款(司机)(新能源汽车)',

        'C15001' => '新能源汽车车上人员责任保险(乘客)',
        'C15002' => '附加精神损害抚慰金责任险(乘客)(新能源汽车)',
        'C15003' => '附加医保外医疗费用责任险(乘客)(新能源汽车)',
        'C15004' => '附加绝对免赔率特约条款(乘客)(新能源汽车)',

        'C16001' => '2020021',
        'C16002' => '2020022',
        'C16003' => '2020023',
        'C16004' => '2020024',
        'C16005' => '2020025',

        'C18001' => '2020005', //道路救援服务特约条款
        'C18002' => '2020006', //车辆安全检测特约条款
        'C18003' => '2020007', //代为驾驶服务特约条款
        'C18004' => '2020008', //代为送检服务特约条款
    ];

    /**
     * 车损险绝对免赔额
     * @var string[] $deductionLimit
     */
    public static $deductionLimit = [
        '300' => '375002',
        '500' => '375003',
        '1000' => '375004',
        '2000' => '375005',
    ];

    /**
     * 关系人
     * @var string[] $relationTypeCode
     */
    public static $relationTypeCode = [
        'R1' => '1',
        'R2' => '2',
        'R3' => '3'
    ];

    /**
     * 缴税类型
     * @var string[] $taxTypeCode
     */
    public static $taxTypeCode =[
        'T01' => 'T',
        'T02' => 'P',
        'T03' => 'E',
        'T04' => 'C',
        'T05' => 'R',
        'T06' => 'R',
        'T07' => 'R',
        'T08' => 'D',
    ];

    /**
     * 减免税原因代码
     * @var array $taxReductionReasonCode
     */
    public static $taxReductionReasonCode = [
        'TRR1' => 'C', //具备减免税证明
        'TRR2' => 'F', //拖拉机
        'TRR3' => 'A', //军队、武警专用车
        'TRR4' => 'P', //警车
        'TRR5' => 'D', //外国使领馆、国际组织及其人员
        'TRR6' => 'O', //其他
        'TRR7' => 'E', //能源减免
    ];

    /**
     * 减免税方案代码
     * @var array $taxReductionCode
     */
    public static $taxReductionCode = [
        'E' => 'E', //'免税',
        'P' => 'P', //'比例减免',
        'A' => 'A', //'金额减免'
    ];

    public static $underStats = [
        'U1' => '核保通过',
        'U2' => '退回修改',
        'U3' => '人工核保',
        'U4' => '核保失败',
        'U5' => '已出保单',
        'U6' => '拒保'
    ];


    /**
     * 上传文件类型
     * @var array $uploadFileType
     */
    public static $uploadFileType = [
        '10001' => '1002', // '投保人身份证正面照',
        '10002' => '1002',//'投保人身份证反面照',
        '10003' => '1002',//'投保人组织机构代码证照',

        '10004' => '1003',//'被保人身份证正面照',
        '10005' => '1003',//'被保人身份证反面照',
        '10006' => '1003',//'被保人组织机构代码证照',

        '10007' => '1019',
        '10008' => '1019',
        '10009' => '1019',

        '10010' => '1004',
        '10011' => '1004',

        '10012' => '1019',
        '10013' => '1019',

        '10014' => '1005',
        '10015' => '1005',

        '10100' => '1005',//'验车照片3',
        '10101' => '1005',//'验车照片4',
        '10102' => '1005',//'验车照片5',
        '10103' => '1005',//'验车照片6',
        '10104' => '1005',//'验车照片7',
        '10105' => '1005',//'验车照片8',
        '10106' => '1005',//'验车照片9',
        '10107' => '1005',//'验车照片10',

        '10016' => '1101',
        '10017' => '1007',
        '10018' => '1019',
        '10019' => '1010',
        '10020' => '1010',
        '10021' => '1001',

        '90004' => '1019',//'关系证明',
        '90009' => '1019',//'其他',
    ];


    /**
     * 充电桩种类
     * @var string[] $chargePileKind
     */
    public static $chargingPileKind = [
        'PK1' => '1',
        'PK2' => '2',
        'PK9' => '9'
    ];

    /**
     * 充电桩安装地点类型
     * @var string[] $chargingPileAddressType
     */
    public static $chargingPileAddressType = [
        'PA1' => '1',
        'PA2' => '2'
    ];

    /**
     * 充电桩使用年限
     * @var array $chargingPileYearLimit
     */
    public static $chargingPileYearLimit = [
        'PY1' => '1',
        'PY2' => '2',
        'PY3' => '3'
    ];

    /**
     * 业务类型（来源）
     * @var string[] $businessSrc
     */
    public static $businessSrc = [
        '19001' => [
            'name' => '直销业务',
            'code' => '19001',
            'channelType' => [
                '191001' => [
                    'name'=> '柜台销售',
                    'code' => '191001',
                ],
                '191002' => [
                    'name'=> '网上销售',
                    'code' => '191002',
                ],
                '191003' => [
                    'name'=> '电话销售',
                    'code' => '191003',
                ],
                '191009' => [
                    'name'=> '股东业务',
                    'code' => '191009',
                ],
                '191010' => [
                    'name'=> '传统直销',
                    'code' => '191010',
                ],
                '191012' => [
                    'name'=> '职业团体直销',
                    'code' => '191012',
                ],
            ]
        ],
        '19002' => [
            'name' => '代理业务',
            'code' => '19002',
            'channelType' => [
                '191004' => [
                    'name' => '兼业代理',
                    'code' => '191004',
                    'channelSubType' => [
                        '19100401' => [
                            'name' => '银行代理',
                            'code' => '19100401',
                        ],
                        '19100402' => [
                            'name' => '邮政代理',
                            'code' => '19100402',
                        ],
                        '19100403' => [
                            'name' => '车行代理',
                            'code' => '19100403',
                        ],
                        '19100404' => [
                            'name' => '其他',
                            'code' => '19100404',
                        ],
                        '19100405' => [
                            'name' => '交叉代理',
                            'code' => '19100405',
                        ],
                    ]
                ],
                '191005' => [
                    'name' => '个人代理',
                    'code' => '191005',
                ],
                '191008' => [
                    'name' => '专业代理',
                    'code' => '191008',
                    'channelSubType' => [
                        '19100801' => [
                            'name' => '其他',
                            'code' => '19100801',
                        ],
                        '19100802' => [
                            'name' => '车行专代',
                            'code' => '19100802',
                        ],
                        '19100803' => [
                            'name' => '直属专业代理',
                            'code' => '19100803',
                        ],
                    ]
                ]
            ]
        ],
        '19003' => [
            'name' => '经纪业务',
            'code' => '19003',
            'channelType' => [
                '191007' => [
                    'name' => '经纪业务',
                    'code' => '191007',
                ]
            ]
        ],
    ];

    /**
     * 车身颜色
     * vehicleColor
     * @var string[] $vehicleColor
     */
    public static $vehicleColor = [
        '001' => 'A',
        '002' => 'B',
        '003' => 'C',
        '004' => 'D',
        '005' => 'E',
        '006' => 'F',
        '007' => 'G',
        '008' => 'H',
        '009' => 'I',
        '010' => 'J',
        '999' => 'Z',
    ];
}
